package cn.drenal.capcap.entity.vo;

import cn.drenal.capcap.entity.ArtworkImage;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class ArtworkDetailVO {
    private Long id;

    private String title;

    private String coverImage;

    private String description;

    private Long categoryId;

    private String categoryName;

    private Long userId;

    private Integer status;

    private Integer viewCount;

    private Integer favoriteCount;

    private Integer commentCount;

    private Integer isActivity;

    private String activityId;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private LocalDateTime createTime;

    private List<ArtworkImage> images;
    
    private List<String> tags;
}